package com.ruoyi.complex.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 学生表单对象 complex_score_form
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
@Schema(description = "学生表单对象")
public class ComplexScoreForm extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    @Schema(defaultValue = "")
    private Long scoreId;
    /** 表单对象 */
    @Schema(defaultValue = "表单对象")
    private String scoreJson;
    /** 用户id */
    @Schema(defaultValue = "用户id")
    private Long userId;
    /** 学号 */
    @Schema(defaultValue = "学号")
    @Excel(name = "学号")
    private String studentNumber;
    /** 学期(一个词典) */
    @Schema(defaultValue = "学期(一个词典)")
    private Long term;
    /** 表单状态(0通过，1打回) */
    @Schema(defaultValue = "表单状态(0通过，1打回)")
    @Excel(name = "表单状态", readConverterExp = "0=通过,1=打回")
    private Long commitFlag;

    @Excel(name = "学生班级")
    private String studentClass;

    public void setScoreId(Long scoreId) {
        this.scoreId = scoreId;
    }

    public Long getScoreId() {
        return scoreId;
    }

    public void setScoreJson(String scoreJson) {
        this.scoreJson = scoreJson;
    }

    public String getScoreJson() {
        return scoreJson;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setTerm(Long term) {
        this.term = term;
    }

    public Long getTerm() {
        return term;
    }

    public void setCommitFlag(Long commitFlag) {
        this.commitFlag = commitFlag;
    }

    public Long getCommitFlag() {
        return commitFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("scoreId", getScoreId())
                .append("scoreJson", getScoreJson())
                .append("userId", getUserId())
                .append("studentNumber", getStudentNumber())
                .append("term", getTerm())
                .append("commitFlag", getCommitFlag())
                .toString();
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getStudentClass() {
        return studentClass;
    }

    public void setStudentClass(String studentClass) {
        this.studentClass = studentClass;
    }
}